package chapter5.homework;

/**
 * 作业：演示this 局部变量的程序
 *
 * @author 张玮婷 20245080902061
 */

public class StudentManager {
    public static void main(String[] args) {
        //创建student对象
        Student student = new Student("张玮婷", 19, 85.5);
        System.out.println("---初始学生信息---");
        student.printInfo();
        System.out.println("---修改学生年龄---");
        student.setAge(20);
        student.printInfo();
        System.out.println("---修改学生分数---");
        student.setScore(90);
        student.printInfo();
    }
}
